#ifndef __AH_APP_H__
#define __AH_APP_H__


#include "stm32f4xx.h"
#include "os.h"
#include "./led/bsp_led.h"
typedef void (*tm_callback_t)(void);


typedef struct soft_timer_par 
{
	unsigned  int ticks;
	unsigned int  period;
	tm_callback_t callback;
}soft_timer_init;



int soft_timer(int first_ticks, int period, tm_callback_t callback);
void CallBack(void);


#endif
